returnKey
Type
message
Summary
Sent when the user presses the return key
Syntax
on returnKey
Description
Use the returnKey message to respond to the user pressing the return key whilst the field is focused.
Examples
on returnKey
-- ensure the user has entered a number
if the text of the target is not a number then
beep
answer "Invalid number entered!"
end if
end returnKey
Compatibility and Support
OS
mac